package com.battcn.elasticsearch.configuration;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 配置httpclient相关
 * @author fanpeng
 */
@Data
@Component
@ConfigurationProperties(prefix = "http")
public class HttpProperties {

    private Integer maxTotal;
    private Integer defaultMaxPerRoute;
    private Integer connectTimeout;
    private Integer readTimeout;
    private Integer connectionRequestTimeout;
}
